package com.example.demo.utils;

import com.youbenzi.md2.export.FileFactory;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.UnsupportedEncodingException;

public class Md2pdfUtils {
    public void md2pdf(File file,String pdfPath) throws FileNotFoundException, UnsupportedEncodingException {
        FileFactory.produce(file,pdfPath);
    }
}
